/*
 * Copyright (c) 2014 Strong Group - 版权所有
 * 
 * This software is the confidential and proprietary information of
 * Strong Group. You shall not disclose such confidential information 
 * and shall use it only in accordance with the terms of the license 
 * agreement you entered into with www.cnstrong.cn.
 */
package com.zuorenke.serialize;

/**
 *
 * 描述:序列化
 *
 * @author  WQB
 * @created 2014-5-20 下午4:26:21
 * @since   v1.0.0
 */
public interface SerializableAdapter {

	/**
	 *	
	 * 描述:序列化
	 *
	 * @author  WQB
	 * @created 2014-5-20 下午4:26:34
	 * @since   v1.0.0 
	 * @param object
	 * @return
	 * @return  byte[]
	 */
	byte[] serialize(Object object);

	/**
	 *	
	 * 描述:反序列化
	 *
	 * @author  WQB
	 * @created 2014-5-20 下午4:26:36
	 * @since   v1.0.0 
	 * @param value
	 * @return
	 * @return  Object
	 */
	Object deserialize(byte[] value);
}
